{include file=header.html}
<script type="text/javascript" src="{lib file=search_goods.js}" charset="utf-8"></script>
<script type="text/javascript">
var upimg   = '{res file=images/up.gif}';
var downimg = '{res file=images/down.gif}';
imgUping = new Image();
imgUping.src = upimg;
</script>
{include file=curlocal_jia.html}
<div class="content">
    <div class="left g_left">
        <ul>
        	<li><img src="themes/mall/default/styles/default/images/jia1.jpg" /></li>
            <li><img src="themes/mall/default/styles/default/images/jia2.jpg" /></li>
        </ul>
    </div>

    <div class="right g_right">
    	  <!-- {if $showdiv} -->
    	  <div class="module_filter">
            <div class="module_filter_line">
                <ul class="module_filter_nav" ectype="ul_filter">
                <!-- {/if} -->
                    <!--{foreach from=$filters item=filter}-->  <!-- 关键字 -->
                    <div class="module_filter">
            		<div class="module_filter_line">
		                <ul class="module_filter_nav" ectype="ul_filter">
		                    <li class="normal" ectype="li_filter">
		                        <span class="txt">{$filter.name}: {$filter.value}</span>
		                        <span class="ico"><img src="{res file=images/delete.gif}" title="{$filter.key}" /></span>
		                    </li>
		                </ul>
		            </div>
		           </div>
                    <!--{/foreach}-->

                    <!-- {if $keyword_name} -->
	                 <li class="normal">
	                     <span class="txt">{$lang.keyword}: {$keyword_name}</span>
	                     <span class="ico">
	                     <a href="{url app=search&act=goods}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} -->">
	                     <img src="{res file=images/delete.gif}" /></a></span>
	                 </li>
	                 <!-- {/if} -->
					<!-- {if $cate_name} -->
	                 <li class="normal">
	                     <span class="txt">{$lang.by_category}: {$cate_name}</span>
	                     <span class="ico">
	                     <a href="{url app=search&act=goods}<!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword_name} -->&keyword={$keyword_name}<!-- {/if} -->">
	                     <img src="{res file=images/delete.gif}" /></a></span>
	                 </li>
	                 <!-- {/if} -->
	                 <!-- {if $brand_name} -->
	                 <li class="normal">
	                     <span class="txt">{$lang.by_brand}: {$brand_name}</span>
	                     <a href="{url app=search&act=goods}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword_name} -->&keyword={$keyword_name}<!-- {/if} -->">
	                     <span class="ico"><img src="{res file=images/delete.gif}" /></a></span>
	                 </li>
	                 <!-- {/if} -->
	                 <!-- {if $price_name} -->
	                 <li class="normal">
	                     <span class="txt">{$lang.by_price}: {$price_name}</span>
	                     <a href="{url act=goods&app=search}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword_name} -->&keyword={$keyword_name}<!-- {/if} -->">
	                     <span class="ico"><img src="{res file=images/delete.gif}" /></a></span>
	                 </li>
	                 <!-- {/if} -->
	                 <!-- {if $region_name} -->
	                 <li class="normal">
	                     <span class="txt">{$lang.by_region}: {$region_name}</span>
	                     <a href="{url app=search&act=goods}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $keyword_name} -->&keyword={$keyword_name}<!-- {/if} -->">
	                     <span class="ico"><img src="{res file=images/delete.gif}" /></a></span>
	                 </li>
	                 <!-- {/if} -->
	                 <!-- {if $showdiv} -->
                </ul>
            </div>
           </div>
            <!-- {/if} -->
    	<div class="guojia clearfix"><!--分类查询-->
                <div class="wrap_child ">
                	<div class="gg_1 clearfix" >
                        <h2>{$lang.by_category}:</h2>  <!-- 商品分类 -->
                        <dl id="gg_1">
                        <!--{foreach from=$categories item=category name=fe_category}-->
                            <dd class="bg_color1 <!-- {if $category.cate_id eq $cate_id} -->wer<!-- {/if} -->">
                            <a href="{url app=search&act=goods&cate_id=$category.cate_id}<!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword} -->&keyword={$keyword}<!-- {/if} -->">
                            {$category.cate_name|escape}</a></dd>
                        <!--{/foreach}-->
                        </dl>
                    </div>
                    <!-- {if !$filters.brand} -->
                    <div class="gg_1 clearfix">
                        <h2>{$lang.by_brand}:</h2>  <!-- 品牌分类 -->
                        <dl>
                        <!--{foreach from=$brands item=row name=fe_brand}-->
                            <dd class="bg_color1 <!-- {if $row.brand_id eq $brand_id} -->wer<!-- {/if} -->">
                            <a href="{url app=search&act=goods&brand_id=$row.brand_id}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword} -->&keyword={$keyword}<!-- {/if} -->">
                            {$row.brand_name|escape}</a></dd>
                        <!--{/foreach}-->
                        </dl>
                    </div>
                    <!-- {/if} -->
                    <div class="gg_1 clearfix">
                        <h2>{$lang.by_price}:</h2>  <!-- 价格分类 -->
                        <dl>
                        <!--{foreach from=$price_intervals item=row}-->
                            <dd class="bg_color1 <!-- {if $row.tag eq $price_id} -->wer<!-- {/if} -->">
                            <a href="{url act=goods&app=search&price_id=$row.tag}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $region_id} -->&region_id={$region_id}<!-- {/if} --><!-- {if $keyword} -->&keyword={$keyword}<!-- {/if} -->">
                            {$row.price_name|escape}</a> </dd>
                        <!--{/foreach}-->
                        </dl>
                    </div>
                    <!-- {if !$filters.region_id} -->
                    <div class="gg_1 clearfix">
                        <h2>{$lang.by_region}:</h2>  <!-- 地区分类 -->
                        <dl>
                        <!--{foreach from=$regions item=row name=fe_region}-->
                            <dd class="bg_color1 <!-- {if $row.region_id eq $region_id} -->wer<!-- {/if} -->">
                            <a href="{url region_id=$row.region_id&app=search&act=goods}<!-- {if $cate_id} -->&cate_id={$cate_id}<!-- {/if} --><!-- {if $brand_id} -->&brand_id={$brand_id}<!-- {/if} --><!-- {if $price_id} -->&price_id={$price_id}<!-- {/if} --><!-- {if $keyword} -->&keyword={$keyword}<!-- {/if} -->">
                            {$row.region_name|escape}</a> </dd>
                        <!--{/foreach}-->
                        </dl>
                    </div>
                    <!-- {/if} -->
                </div>
		</div>


        <div class="shop_con_list">
            <h2>
                <div class="ornament1"></div>
                <div class="ornament2"></div>
                <div class="h2_wrap">
                    <div class="table_title">
                        <p class="title">{$lang.display_mode}:</p>
                        <p class="list_ico" ectype="display_mode" ecvalue="list" title="{$lang.display_by_list}"></p>
                        <p class="squares_ico" ectype="display_mode" ecvalue="squares" title="{$lang.display_by_item}"></p>
                        <p class="line_ico"></p>
                        <p class="title">{$lang.order_by}:</p>
                        <p><select ectype="order_by">{html_options options=$orders selected=$smarty.get.order}</select></p>
                    </div>
                    <div class="top_page">
                        {include file=page.top.html}
                    </div>
                </div>
            </h2>

            <div class="{$display_mode}" ectype="current_display_mode">
                <!-- {if $goods_list} -->
                <ul class="list_pic">
                    <!--{foreach from=$goods_list item=goods}-->  <!-- 菜品显示区域 -->
                    <li>
                        <p><a href="{url app=goods&id=$goods.goods_id}" target="_blank"><img src="{$goods.default_image}" /></a></p>
                        <h3>
                            <span class="text_link">
                                <span class="depict">
                                    <a href="{url app=goods&id=$goods.goods_id}" target="_blank">{$goods.goods_name|escape}</a>
                                </span>
                                <span class="info">
                                    <span>{$lang.store_name}: {$goods.store_name|escape}</span>
                                    <span class="fontColor5">{$goods.grade_name|escape}</span>
                                </span>
                            </span>
                            <span class="price">{$goods.price|price}</span>
                            <b>{$lang.sales}: {$goods.sales|default:0} {$lang.unit} | <a href="{url app=goods&act=comments&id=$goods.goods_id}" target="_blank">{$goods.comments|default:0} {$lang.comment}</a></b>
                        </h3>
                    </li>
                    <!--{/foreach}-->
                    <div class="clear"></div>
                </ul>
            </div>
            <!-- {else} -->
              <div class="jia_no"><span>{$lang.no_records}<br/>{$lang.submit_method}</span></div>
            <!-- {/if} -->
        </div>

        <div class="shop_list_page">
            {include file=page.bottom.html}
        </div>
    </div>
</div>

{include file=footer.html}
